package com.funky.service;

import com.funky.pojo.User;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sun.org.apache.xpath.internal.operations.Bool;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xiaojin
 * @since 2021-01-08
 */
public interface UserService extends IService<User> {

  List<User> findAllUser();

  Integer register(User user);

  User login(User user);

  User findUserById(String id);

  boolean findByEmail(String email);

}
